.title {
  position: relative;

  .flag {
    position: absolute;
    top: 4rpx;
    font-size: $litte-font-size;
    color: $theme-color;
    border: 1rpx solid $theme-color;
    box-sizing: border-box;
    border-radius: $default-border-radius;
    margin-right: 6rpx;
    padding: 0 4rpx;
  }

  .hidden {
    position: static;
    color: #ffffff;
    border-color: #ffffff;
  }

  .name {
    font-weight: bold;
  }
}

.select-num {
  width: 100%;
  display: flex;
  justify-content: center;
  height: 92rpx;

  view {
    margin-top: 60rpx;
    min-width: 35rpx;
    box-sizing: border-box;
    padding: 0 5rpx;
    text-align: center;
    height: 35rpx;
    border-radius: 35rpx;
    background: $theme-color;
    color: white;
    font-size: 21rpx;
    line-height: 35rpx;
  }
}

.btn-wrap {
  position: absolute;
  right: 40rpx;
  bottom: 20rpx;

  .no-select {
    display: flex;
    align-items: center;

    text {
      font-size: 60rpx;
    }

    input {
      font-size: $big-font-size;
      width: 60rpx;
      line-height: 60rpx;
      height: 60rpx;
      text-align: center;
      margin: 0 10rpx;
    }
  }
}

.price-wrap {
  margin-top: 10rpx;
  vertical-align: text-bottom;

  .now {
    font-size: $big-font-size;
    color: $theme-color;
  }

  .min {
    font-size: $litte-font-size;
    margin-left: 4rpx;
  }

  .old {
    font-size: $litte-font-size;
    line-height: 28rpx;
    text-decoration: line-through;
    color: $font-grey-color;
    margin-left: 20rpx;
  }

  .discount {
    font-size: $litte-font-size;
    color: $theme-color;
    margin-left: 20rpx;
  }

  // .boxFee{
  // 	margin-left: 20rpx;
  // 	text{
  // 		font-size: $big-font-size;
  // 		color: $theme-color;
  // 	}
  // }
}

.price::before {
  content: "￥";
  font-size: $small-font-size;
}

@keyframes goodDrop {
  0% {
    top: -120%;
    opacity: 0.5;
  }

  3% {
    top: 0;
    opacity: 0.6;
  }

  6% {
    top: 30%;
    transform: scaleX(1.7);
    opacity: 0.7;
  }

  15% {
    top: 10%;
    transform: scaleX(1);
    opacity: 0.8;
  }

  30% {
    top: 40%;
    opacity: 1;
    transform: scaleX(1);
  }

  31% {
    opacity: 0;
  }

  33% {
    top: -120%;
    opacity: 0;
  }

  34% {
    box-shadow: 0rpx 0rpx 10rpx 0rpx rgba(28, 159, 255, 0.4);
    opacity: 1;
    top: -120%;
  }

  40% {
    top: 30%;
    transform-origin: center bottom;
    transform: scaleX(0.8) scaleY(1.4);
  }

  49% {
    top: 10%;
    transform-origin: center bottom;
    transform: scaleX(1.3) scaleY(0.7);
  }

  64% {
    top: 40%;
    opacity: 1;
    transform-origin: center top;
    transform: scaleX(1) scaleY(1);
  }

  67% {
    opacity: 0;
  }

  100% {
    opacity: 0;
  }
}

.goodDrop {
  width: 10rpx;
  height: 10rpx;
  position: absolute;
  -webkit-backface-visibility: hidden;
  -webkit-transform-style: preserve-3d;
  left: 110rpx;
  right: 0;
  /* margin: 0 auto; */
  transform-origin: 50%;
  animation: goodDrop 4s 1 ease;
}
